package org.bzjj.sql;

import java.util.HashMap;

public class SqlDelete {
	private static String startDelete = "DELETE";
	private static String fromDelete = " FROM ";
	private static String whereDelete = " WHERE ";

	public static String getDelete(String table, HashMap<String, String> where) {
		String str = startDelete + fromDelete + Sql.getKey(table) + whereDelete
				+ Sql.getWhere(where);
		return str;
	}
}
